<%--
  Created by IntelliJ IDEA.
  User: 袁飞
  Date: 2020/3/11/011
  Time: 20:17
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>华晨机械公司erp系统|进销存</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bssmanager/plugins/fontawesome-free/css/all.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bssmanager/dist/css/adminlte.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bssmanager/plugins/toastr/toastr.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bssmanager/plugins/sweetalert2-theme-bootstrap-4/bootstrap-4.min.css">
    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
    <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
</head>
<body class="hold-transition sidebar-mini">
<div class="wrapper">
    <jsp:include page="navbar.jsp"></jsp:include>
    <jsp:include page="sidebar.jsp"></jsp:include>
    <div class="content-wrapper">
        <div class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">

                </div>
            </div>
        </div>
        <div class="content contents">
            <div class="container-fluid">
                <div class="row">
                    信息概览
                </div>
            </div>
        </div>
    </div>
    <jsp:include page="controlsidebar.jsp"></jsp:include>
    <jsp:include page="foot.jsp"></jsp:include>
    <div id="sidebar-overlay"></div>
</div>
<script src="${pageContext.request.contextPath}/bssmanager/plugins/jquery/jquery.min.js"></script>
<script src="${pageContext.request.contextPath}/bssmanager/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="${pageContext.request.contextPath}/bssmanager/dist/js/adminlte.min.js"></script>
<script>
    $(function () {
        $(".selected-title").each(function () {
            $(this).on("click",function () {
                if ($(this).hasClass("active")) {
                    return
                }else {
                    $(".selected-title").each(function () {
                        $(this).removeClass("active")
                    })
                    $(this).addClass("active")
                }
            })
        })
        $(".selectedA").each(function(){
            $(this).on("click",function () {
                if ($(this).hasClass("active")) {
                }else {
                    $(".selectedA").each(function () {
                        $(this).removeClass("active")
                    })
                    $(this).addClass("active")
                    var pre=$(this).attr("name")
                    $.ajax({
                        type: "GET",
                        async:false,
                        url: $(this).attr("action")+"?v="+Math.random(),
                        cache:false,
                        success: function (data) {
                            $(".content").html(data)
                            $.getScript(pre+'list.js',function(){
                            });
                        }
                    })
                }
            })
        })
    })
</script>
</body>
</html>
